package com.gitee.solon.admin.mapper;

import com.gitee.solon.admin.model.User;
import com.mybatisflex.core.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 create table t_user(
 id bigserial not null,
 name varchar(100),
 age int,
 email varchar(100),
 address varchar(100),
 constraint pk_t_user primary key(id)
 );

 insert into t_user(name,age,email,address) values('pg1',33,'xxx@xx.org','山东');
 insert into t_user(name,age,email,address) values('pg2',44,'xxx@xx.org','山东');
 insert into t_user(name,age,email,address) values('pg3',55,'xxx@xx.org','山东');
 *
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    List<User> getUserList();
}
